package com.e3.basdoc.currency.client;

import com.e3.basdoc.currency.model.CurrencyModel;
import com.e3.template.tgf.GFRefDialog;
import com.e3.template.tgf.TGFGridPanel;
import com.e3.template.tgf.TGFQueryDialog;

public class CurrencyRefDialog extends GFRefDialog<CurrencyModel> {

	@Override
	protected String getRefDialogTitle() {
		return CurrencyMessages.INSTANCE.title_currency_refdialog();
	}

	@Override
	protected TGFGridPanel<CurrencyModel> createGridPanel() {
		return new CurrencyGridPanel();
	}

	@Override
	protected TGFQueryDialog<CurrencyModel> createQueryDialog() {
		return new CurrencyQueryDialog();
	}

	@Override
	protected String getCurrentLocalName() {
		return CurrencyMessages.INSTANCE.local_name();
	}

}
